const express=require('express');
const fs =require('fs');
const {start}=require('../middleware/start');
const admin=express()
admin.get('/',function (req,res) {
  start(req,res)
})
admin.get('/user',(req,res)=>{
  res.send({user:'wxs',pwd:'1234567'})
})
admin.get('/animation',(req,res)=>{
  res.send('hello this is a animation')
})
module.exports=admin